package com.genius.waybill.controller;

import com.genius.workflow.log.ControllerLog;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
@Api(tags = "收货主管页面的控制器(与后台页面有关)不要动",value = "控制器")
public class WaybillPageController {

    @ControllerLog(description="送货管理")
    @GetMapping("/waybillManager")
    public String waybillManager(){
        return "/views/waybill/waybillManager";
    }


    @ControllerLog(description="新建回车答案")
    @GetMapping("/backAnswerInsert")
    public String backAnswerInsert(){
        return "/views/waybill/backAnswerInsert";
    }


    @ControllerLog(description = "回车答案列表")
    @GetMapping("/backAnswerList")
    public String backAnswerList(){
        return "/views/waybill/backAnswerList";
    }

    @ControllerLog(description = "回车规则列表")
    @GetMapping("/backClauseList")
    public String backClauseList(){
        return "/views/waybill/backClauseList";
    }


    @ControllerLog(description = "新建回车规则")
    @GetMapping("/backClauseInsert")
    public String backClauseInsert(){
        return "/views/waybill/backClauseInsert";
    }

    @ControllerLog(description = "新建发车答案")
    @GetMapping("/setOutAnswerInsert")
    public String setOutAnswerInsert(){
        return "/views/waybill/setOutAnswerInsert";
    }

    @ControllerLog(description = "发车答案列表")
    @GetMapping("/setOutClauseAnswerList")
    public String setOutClauseAnswerList(){
        return "/views/waybill/setOutClauseAnswerList";
    }


    @ControllerLog(description = "新建发车规则")
    @GetMapping("/setOutClauseInsert")
    public String setOutClauseInsert(){
        return "/views/waybill/setOutClauseInsert";
    }


    @ControllerLog(description = "发车规则列表")
    @GetMapping("/setOutClauseList")
    public String setOutClauseList(){
        return "/views/waybill/setOutClauseList";
    }


    @ControllerLog(description = "新建店面答案")
    @GetMapping("/storeAnswerInsert")
    public String storeAnswerInsert(){
        return "/views/waybill/storeAnswerInsert";
    }

    @ControllerLog(description = "店面答案列表")
    @GetMapping("/storeAnswerList")
    public String storeAnswerList(){
        return "/views/waybill/storeAnswerList";
    }

    @ControllerLog(description = "新建店面规则")
    @GetMapping("/storeClauseInsert")
    public String storeClauseInsert(){
        return "/views/waybill/storeClauseInsert";
    }

    @ControllerLog(description = "店面规则列表")
    @GetMapping("/storeClauseList")
    public String storeClauseList(){
        return "/views/waybill/storeClauseList";
    }

    @ControllerLog(description = "新增出车单")
    @GetMapping("/insertWaybill")
    public String insertWaybill(){
        return "/views/waybill/insertWaybill";
    }

    @ControllerLog(description = "新增出车单")
    @GetMapping("/sa")
    public String dss(){
        return "/views/waybill/ssd";
    }
}

